<?php require_once('header.php'); ?>
<script type="text/javascript" src="../js/initEditeur.js" > </script>
<?php
if (!isset($_SESSION['connecte']))
{
    header('Location: index.php');
    die();
}
 $p = Page::getPage("coordonnees");
if (isset($_POST['submitCoordonnees'])) {
    if (isset($_POST['contenu']) && !empty($_POST['contenu'])) {
        $contenu = $_POST['contenu'];
       
        $p->modifierContenu($contenu);
        $message[] = "La page a été modifiée.";
    } 
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ibm852" />
<title>Administration de la page coordonn&eacute;es</title>
<link href="../css/style_BO.css" rel="stylesheet" type="text/css" />
</head>

<body>

<div class="container">
  <div class="header"><img src="../images/pages/logo-bubbl-com.gif" alt="Bubbl'com - Claire Lepoint Chazallet"/></div>
  <div class="content">
    <p class="accroche">Votre solution de gestion de contenu sur mesure</p>
    <h1>Administration de la page coordonn&eacute;es</h1>
    <p>&nbsp;</p>


<p>Entrez ici les coordonn&eacute;es de la soci&eacute;t&eacute;. Vous pouvez &eacute;galement ins&eacute;rer un plan d'acc&egrave;s</p>
 <form action="coordonnees.php" method="post" >
 <p> 
                    <textarea id="contenu" name="contenu" style="width: 100%; height: 500px">
 <?php echo $p->getContenu(); ?>
                    </textarea>
                    <div id="elfinder"></div>
                </p>
  <p>
        <input type="submit" name="submitCoordonnees" value="Enregistrer" />
    </p>
<p><br />
</p>
    <p></p>
  </div>
  <div class="footer">
    <p>&nbsp;</p>
  </div>
</div>
</body>
</html>
